package com.hlddz.venue_reservation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hlddz.venue_reservation.entity.ReserveVisitor;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MoShang
 * @since 2024年05月31日
 */
@Mapper
public interface ReserveVisitorMapper extends BaseMapper<ReserveVisitor> {
    @Insert("insert into reserve_visitor (reserve_id, visitor_id) values (#{reserveId},#{visitorId})")
    void addReserveVisitor(int reserveId, String visitorId);
}
